<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once "albumDAO.php";

class AlbumBO{

    private $albumDAO;

    function AlbumBO() {
        $this->albumDAO = new AlbumDAO();
    }

    public function novoAlbum($album){
        return $this->albumDAO->save($album);
    }

    public function listAlbunsPorIdConta($idConta){
        return $this->albumDAO->listAlbunsPorIdConta($idConta);
    }

    public function getAlbumDAO() {
        return $this->albumDAO;
    }

    public function setAlbumDAO($albumDAO) {
        $this->albumDAO = $albumDAO;
    }



}
?>